import request from '@/utils/request'

// 查询课程签到列表
export function listIn(query) {
  return request({
    url: '/debao/SignIn/list',
    method: 'get',
    params: query
  })
}

// 查询课程签到详细
export function getIn(id) {
  return request({
    url: '/debao/SignIn' + id,
    method: 'get'
  })
}

// 新增课程签到
export function addIn(data) {
  return request({
    url: '/debao/SignIn',
    method: 'post',
    data: data
  })
}

// 修改课程签到
export function updateIn(data) {
  return request({
    url: '/debao/SignIn',
    method: 'put',
    data: data
  })
}

// 删除课程签到
export function delIn(id) {
  return request({
    url: '/debao/SignIn' + id,
    method: 'delete'
  })
}
